<!--
 * @Author: ZhanXie
 * @Date: 2019-10-10 17:01:57
 * @LastEditors: ZhanXie
 * @LastEditTime: 2020-05-19 17:03:37
 * @Description: 
 * @FilePath: /webpack-cli/public/index.html
--> 
<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>
    <%= htmlWebpackPlugin.options.title %>
  </title>
</head>

<body>
  <div id="root"></div>
</body>
<script>
  !(function (n, e) {
    var t = n.documentElement,
      i = "orientationchange" in window ? "orientationchange" : "resize",
      d = function () {
        var n = t.clientWidth;
        if (n) {
          var e = 50 * (n / 375);
          e = e > 54 ? 54 : e;
          t.style.fontSize = e + "px";
          var s = getComputedStyle
            ? getComputedStyle(t, false)["fontSize"]
            : "";
          s = s.substr(0, s.length - 2) * 1;
          if (s && e !== s) {
            t.style.fontSize = e * (e / s) + "px";
          }
        }
      };
    n.addEventListener &&
      (e.addEventListener(i, d, !1),
        n.addEventListener("DOMContentLoaded", d, !1));
  })(document, window);
</script>

</html>